package m.jclecai.com.bean;

/**
 * Created by ZD on 2017/4/26.
 */

public class TrendButtonBean {
    private String[] names;//按钮显示的名称
    private String[] idxs;//按钮的参数
    private int checkIndex;//选中位置
    private int lotteryid;//采种参数
    private int[] numBg;//球的颜色
    private Boolean[] isUniform;//是否连线
    private boolean addZero;// 标题号码小于10的前面补0 - 01
    private boolean canZero ;//能否从0开始
    private boolean numAddZero ;//正文号码小于10的前面补0 - 01
    private String[] hnames;//冷热按钮显示的名称
    private String[] hidxs;//冷热按钮的参数
    private boolean hasHot;//有冷热选项

    public TrendButtonBean(String[] names, String[] idxs, int checkIndex, int lotteryid, int[] numBg, Boolean[] isUniform, boolean addZero, boolean canZero, boolean numAddZero, String[] hnames, String[] hidxs, boolean hasHot) {
        this.names = names;
        this.idxs = idxs;
        this.checkIndex = checkIndex;
        this.lotteryid = lotteryid;
        this.numBg = numBg;
        this.isUniform = isUniform;
        this.addZero = addZero;
        this.canZero = canZero;
        this.numAddZero = numAddZero;
        this.hnames = hnames;
        this.hidxs = hidxs;
        this.hasHot = hasHot;
    }

    public String[] getNames() {
        return names;
    }

    public void setNames(String[] names) {
        this.names = names;
    }

    public String[] getIdxs() {
        return idxs;
    }

    public void setIdxs(String[] idxs) {
        this.idxs = idxs;
    }

    public int getCheckIndex() {
        return checkIndex;
    }

    public void setCheckIndex(int checkIndex) {
        this.checkIndex = checkIndex;
    }

    public int getLotteryid() {
        return lotteryid;
    }

    public void setLotteryid(int lotteryid) {
        this.lotteryid = lotteryid;
    }

    public int[] getNumBg() {
        return numBg;
    }

    public void setNumBg(int[] numBg) {
        this.numBg = numBg;
    }

    public Boolean[] getIsUniform() {
        return isUniform;
    }

    public void setIsUniform(Boolean[] isUniform) {
        this.isUniform = isUniform;
    }

    public boolean isAddZero() {
        return addZero;
    }

    public void setAddZero(boolean addZero) {
        this.addZero = addZero;
    }

    public boolean isCanZero() {
        return canZero;
    }

    public void setCanZero(boolean canZero) {
        this.canZero = canZero;
    }

    public boolean isNumAddZero() {
        return numAddZero;
    }

    public void setNumAddZero(boolean numAddZero) {
        this.numAddZero = numAddZero;
    }

    public String[] getHnames() {
        return hnames;
    }

    public void setHnames(String[] hnames) {
        this.hnames = hnames;
    }

    public String[] getHidxs() {
        return hidxs;
    }

    public void setHidxs(String[] hidxs) {
        this.hidxs = hidxs;
    }

    public boolean isHasHot() {
        return hasHot;
    }

    public void setHasHot(boolean hasHot) {
        this.hasHot = hasHot;
    }

    @Override
    public boolean equals(Object o) {

        if (o instanceof TrendButtonBean) {
            return  (((TrendButtonBean) o).lotteryid == lotteryid);
        }else{
            return false;
        }
    }
}
